package com.zx.mapper;

import com.zx.base.mybatis.IMapper;
import com.zx.pojo.Right;
import com.zx.pojo.Role;
import com.zx.pojo.User;

import java.util.List;

/**
* @author
* @description 针对表【sys_role】的数据库操作Mapper
* @createDate 2022-11-30 11:01:02
* @Entity com.bdqn.pojo.Role
*/
public interface RoleMapper extends IMapper<Role> {
    public Role findRoleByUsers(User user);

    List<Right> findRightsByRole(Role role);
}




